To solve the problem that Delegated Proof of Stake (DPoS) consensus mechanism has malicious nodes not eliminated in time due to inactive voting and long voting cycle, an improved scheme of DPoS consensus mechanism based on fusing mechanism, credit mechanism and standby witness node was proposed. Firstly, fusing mechanism was introduced to provide the function of negative vote to quicken kicking out evil nodes. Secondly, credit mechanism was introduced to set credit scores and credit grades for nodes, the credit scores and grades of nodes were dynamically adjusted by monitoring the behavior of nodes, therefore the difficulty of obtaining votes for evil nodes was increased. Finally, standby witness node list was added to fill in the vacancy in time after witness right of evil node being cancelled. A test blockchain system based on the improved scheme was built, and the availability and effectiveness of the improved scheme were verified by experiments. The experimental results show that the blockchain based on the improved DPoS consensus mechanism can eliminate the evil nodes in time and is suitable for most scenarios.
At present, the most common way for bitcoin mining is miners joining in a pool. However, there is a phenomenon that the mining pools penetrate each other, which will result in a decrease in the miners' income of the attacked pools, and a reduction in computing power of the attacking pools. Therefore, the overall computing power of the bitcoin system is reduced. Aiming at the problem of mutual attack and non-cooperative mining between mining pools, an Adaptive Zero-Determinant strategy (AZD) was proposed to promote the cooperation of miners. The strategy adopted the idea of comparing expected payoff with cooperation and defection in the next round then choosing a strategy with high payoff. Firstly, miners' payoff in the next round under two situations could be predicted by the combination of Temporal Difference Learning Method (TD(λ)) and Zero-Determinant strategy (ZD). Secondly, by comparing the cooperation payoff with defection payoff in the next round, a more favorable strategy was chosen for miners by Decision Making Process (DMP), so the cooperation probability and defection probability in the next round were changed correspondingly. Finally, through the iterative implementation of AZD strategy, the ming pools in the network would cooperate with each other and mine actively. Simulation results show that compared with adaptive strategy, AZD strategy increases the speed of converging cooperation probability to 1 by 36.54%, compared with ZD strategy, it improves the stability by 50%. This result indicates that AZD strategy can effectively promote the cooperation of miners, improve the convergence rate of cooperation and ensure the stable income of mining pools.
Concerning the ranging inaccuracy problem based on radio signal phase information under multi-path environments, a two-step ranging approach based on double tags was proposed. Each target was attached with double tags. Through single frequency subcarrier amplitude modulation, firstly, the wrapped phase information of carrier signal was extracted, the distance between reader and tag within half wavelength of carrier signal was calculated and fine ranging estimation value was achieved. Secondly, the unwrapped phase information of subcarrier signal was extracted, and the integral multiple of half wavelength within the distance of reader and tag was calculated. Thirdly, the average multiple was calculated between double tags, the distance of average multiple of half wavelength was used as coarse ranging value. Finally, the final ranging result was estimated by the sum of the fine ranging value and coarse ranging value. Additionally, single reader and double-tag based geometric localization method was introduced to reduce the cost of hardware facilities. The simulation results show that, under multi-path environments, compared with the directly ranging with subcarrier phase, the average ranging error of double tags based two-step ranging approach is reduced by 35%, and the final average localization error is about 0.43 m, and the maximum error is about 1 m. The proposed approach can effectively improve the accuracy of phase based localization technology and also reduce the hardware cost.
The solutions for porting programs from single-address space operating system to multiple-address space operating system were illustrated and contrasted in the architecture of embedded MIPS. Then a solution named "single device, multiple modules and architecture porting" was introduced to the program porting from Nucleus to Linux. Experiment results show that this solution is executable, low costing and effective.